﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="CreateNewUser.aspx.cs" Inherits="Presention.CreateNewUser" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p>
        Create New User</p>
         <asp:Panel ID="Panel1" runat="server" GroupingText="User Information">
             <asp:Label ID="CreateNewUserLabel" runat="server" Text="First Name"></asp:Label>
             &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
             <asp:TextBox ID="CreateFirstNameTextBox" runat="server" Width="136px"></asp:TextBox>
             <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="CreateFirstNameTextBox"
                 ErrorMessage="Please write the First Name"></asp:RequiredFieldValidator>
             <br />
             <br />
             <asp:Label ID="CreateLastNameLabel" runat="server" Text="Last Name"></asp:Label>
             &nbsp;&nbsp; &nbsp;&nbsp;
             <asp:TextBox ID="CreateLastNameTextBox" runat="server" Width="137px"></asp:TextBox>
             <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="CreateLastNameTextBox"
                 ErrorMessage="Please write the Last Name"></asp:RequiredFieldValidator>
             <br />
             <br />
             <asp:Label ID="CreateDepartmentLabel" runat="server" Text="Department"></asp:Label>
             &nbsp;&nbsp;&nbsp;
             <asp:DropDownList ID="CreateDepartmentDropDownList" runat="server" 
                 Height="20px" Width="150px">
             </asp:DropDownList>
             &nbsp;
             <asp:CompareValidator ID="CompareValidator1" runat="server" 
                 ErrorMessage="Please select a department" ControlToValidate="CreateDepartmentDropDownList" 
            Font-Bold="False" ForeColor="Red" Operator="NotEqual"
            ValueToCompare="0" ></asp:CompareValidator>
             <br />
             <br />
             Role&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
             <asp:DropDownList ID="CreateRoleDropDownList" runat="server" Height="20px" 
                 Width="150px">
             </asp:DropDownList>
             &nbsp;<asp:CompareValidator ID="CompareValidator2" runat="server" 
                 ErrorMessage="Please select a role" ControlToValidate="CreateRoleDropDownList" 
            Font-Bold="False" ForeColor="Red" Operator="NotEqual" 
            ValueToCompare="0" ></asp:CompareValidator>
             <br />
             <br />
             <br />
             &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
             <asp:Button ID="CreateAddButton" runat="server" Text="Add" Width="106px" 
                 onclick="CreateAddButton_Click"  />
             <br />
             <br />
    </asp:Panel>
         <br/>
   
</asp:Content>
